package com.dingyx.ps.model;

import lombok.Data;

import java.io.Serializable;

/**
 * common returnT:公共返回封装类
 *
 * @author zhangyang@zencor.cn
 */
@Data
public class ReturnApi<T> extends ReturnT implements Serializable {

    public static final long serialVersionUID = 42L;

    public static final String API_SUCCESS = "success";

    private String success;

    public ReturnApi(){}

    public ReturnApi(String success) {
        this.success = success;
    }

    public static ReturnApi SUCCESSAPI() {
        return new ReturnApi(API_SUCCESS);
    }

}
